﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ListNetRanker
{
    public class Parameters
    {
        /** 训练的轮数. */
        private static int EpochNum = 4000;

        /** 梯度下降法的学习步长. */
        private static double Step = 0.0025;

        /**
         * Instantiates a new parameters.
         */
        private Parameters() { }

        /**
         * Gets the epoch num.
         *
         * @return the epoch num
         */
        public static int getEpochNum()
        {
            return EpochNum;
        }


        /**
         * Sets the epochnum.
         *
         * @param n the new epochnum
         */
        public static void setEpochnum(int n)
        {
            EpochNum = n;
        }


        /**
         * Gets the step.
         *
         * @return the step
         */
        public static double getStep()
        {
            return Step;
        }

    }
}
